package com.xqboss.apps.domain.user;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.xqboss.apps.domain.BaseTable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 
 * </p>
 *
 * @author admin
 * @since 2024-01-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UserIdentityPermWrenchProduction对象", description="扳手生产套餐")
public class UserIdentityPermWrenchProduction extends BaseTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "身份段位id")
    @NotNull(message = "段位id不能为空")
    private Long identityRankId;

    @NotNull(message = "热豆消耗不能为空")
    @ApiModelProperty(value = "热豆消耗")
    @Min(0)
    private BigDecimal expendHotBeans;

    @NotNull(message = "生产周期不能为空")
    @ApiModelProperty(value = "生产周期")
    @Min(0)
    private Integer dayProduction;

    @NotNull(message = "预计产出扳手不能为空")
    @ApiModelProperty(value = "预计产出扳手")
    @Min(0)
    private BigDecimal predictOutputWrench;



}
